package com.example.design.dahua.chainofresponsibility.new3;


import java.text.MessageFormat;

/**
 * @author ebnew
 */
public class ConcreteHandler3 extends AbstractHandler {
    @Override
    public void handleRequest(int request) {
        if (request >= 20 && request < 30) {
            System.out.println(MessageFormat.format("{0} 处理请求 {1}", this.getClass().getSimpleName(), request));
        } else {
            //successor.handleRequest(request);

        }
    }
}
